<?php

abstract class DataBase_Abstract {

    abstract function __construct($host, $dbuser, $dbpasswd, $dbname, $dbport,$charset);
    abstract function fetchAll($sql, $bind = array(), $fetchMode = null);
    abstract function fetchRow($sql, array $bind = array(), $fetchMode = null);
    abstract function fetchOne($sql, array $bind = array());
    abstract function insert($table, array $bind);
    abstract function delete($table, $where = '');
    abstract function update($table, array $bind, $where = '');
    abstract function query($sql, $bind = array());
    abstract function prepare($sql = '');
    abstract function execute($param = '');
    abstract function _whereExpr($where);
    abstract function close();
}